/**
 * @license
 * Cesium - https://github.com/CesiumGS/cesium
 * Version 1.99
 *
 * Copyright 2011-2022 Cesium Contributors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Columbus View (Pat. Pend.)
 *
 * Portions licensed separately.
 * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
 */
define(["exports"],(function(t){"use strict";t.read=function(t,o,a,e,r){var M,h,f=8*r-e-1,i=(1<<f)-1,p=i>>1,n=-7,w=a?r-1:0,s=a?-1:1,u=t[o+w];for(w+=s,M=u&(1<<-n)-1,u>>=-n,n+=f;n>0;M=256*M+t[o+w],w+=s,n-=8);for(h=M&(1<<-n)-1,M>>=-n,n+=e;n>0;h=256*h+t[o+w],w+=s,n-=8);if(0===M)M=1-p;else{if(M===i)return h?NaN:1/0*(u?-1:1);h+=Math.pow(2,e),M-=p}return(u?-1:1)*h*Math.pow(2,M-e)},t.write=function(t,o,a,e,r,M){var h,f,i,p=8*M-r-1,n=(1<<p)-1,w=n>>1,s=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,u=e?0:M-1,N=e?1:-1,c=o<0||0===o&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(f=isNaN(o)?1:0,h=n):(h=Math.floor(Math.log(o)/Math.LN2),o*(i=Math.pow(2,-h))<1&&(h--,i*=2),(o+=h+w>=1?s/i:s*Math.pow(2,1-w))*i>=2&&(h++,i/=2),h+w>=n?(f=0,h=n):h+w>=1?(f=(o*i-1)*Math.pow(2,r),h+=w):(f=o*Math.pow(2,w-1)*Math.pow(2,r),h=0));r>=8;t[a+u]=255&f,u+=N,f/=256,r-=8);for(h=h<<r|f,p+=r;p>0;t[a+u]=255&h,u+=N,h/=256,p-=8);t[a+u-N]|=128*c},Object.defineProperty(t,"__esModule",{value:!0})}));
